import { FORM_TYPE_INDICATOR, FORM_TYPE_TASK, FORM_TYPE_DECLARATION, FORM_TYPE_RATING } from '@/views/formConst'
import addBpm from '@/views/bpmCenter/addBpm.vue'
import addRate from '@/views/bpmCenter/addRate.vue'

export function getBpmPage(type) {
  let target = ''
  if (type === FORM_TYPE_DECLARATION) {
    target = addBpm
  } else if (type === FORM_TYPE_RATING) {
    target = addRate
  }
  return target
}
